package com.baizhi.zjs.entity;

import java.io.Serializable;
import java.util.Date;

public class BookEntity implements Serializable{
	private String id;
	private  String bookname;//书名
	private  String department;//所属分类
	private  Double price;//原价
	private  Double ddprice;//当当价
	private  Integer repertory;//库存
	private String writwer;//作者
	private String press;//出版社
	private Date printtime;//出版时间
	private String edition;//版次
	private Date misprint;//印刷时间
	private String impression;//印次
	private String ISBN;//ISBN
	private String foormat;//开本
	private String paper;//纸张
	private String  packageing;//包装
	private String  numberpages;//页数
	private String words;//字数
	private String  src;//封面
	private String  recommend;//编辑推荐
	private String  introductioncontent;//内容简介
	private String  aboutauthor ;//作者简介
	private String   basedirectory;//基本目录
	private String  mediacomments;//媒体评论
	private Integer  sales;//销售数量
	private Date putaeay;//上架时间 
	public BookEntity() {
		super();
	}
	public BookEntity(String id, String bookname, String department,
			Double price, Double ddprice, Integer repertory, String writwer,
			String press, Date printtime, String edition, Date misprint,
			String impression, String iSBN, String foormat, String paper,
			String packageing, String numberpages, String words, String src,
			String recommend, String introductioncontent, String aboutauthor,
			String basedirectory, String mediacomments, Integer sales,
			Date putaeay) {
		super();
		this.id = id;
		this.bookname = bookname;
		this.department = department;
		this.price = price;
		this.ddprice = ddprice;
		this.repertory = repertory;
		this.writwer = writwer;
		this.press = press;
		this.printtime = printtime;
		this.edition = edition;
		this.misprint = misprint;
		this.impression = impression;
		ISBN = iSBN;
		this.foormat = foormat;
		this.paper = paper;
		this.packageing = packageing;
		this.numberpages = numberpages;
		this.words = words;
		this.src = src;
		this.recommend = recommend;
		this.introductioncontent = introductioncontent;
		this.aboutauthor = aboutauthor;
		this.basedirectory = basedirectory;
		this.mediacomments = mediacomments;
		this.sales = sales;
		this.putaeay = putaeay;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBookname() {
		return bookname;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getDdprice() {
		return ddprice;
	}
	public void setDdprice(Double ddprice) {
		this.ddprice = ddprice;
	}
	public Integer getRepertory() {
		return repertory;
	}
	public void setRepertory(Integer repertory) {
		this.repertory = repertory;
	}
	public String getWritwer() {
		return writwer;
	}
	public void setWritwer(String writwer) {
		this.writwer = writwer;
	}
	public String getPress() {
		return press;
	}
	public void setPress(String press) {
		this.press = press;
	}
	public Date getPrinttime() {
		return printtime;
	}
	public void setPrinttime(Date printtime) {
		this.printtime = printtime;
	}
	public String getEdition() {
		return edition;
	}
	public void setEdition(String edition) {
		this.edition = edition;
	}
	public Date getMisprint() {
		return misprint;
	}
	public void setMisprint(Date misprint) {
		this.misprint = misprint;
	}
	public String getImpression() {
		return impression;
	}
	public void setImpression(String impression) {
		this.impression = impression;
	}
	public String getISBN() {
		return ISBN;
	}
	public void setISBN(String iSBN) {
		ISBN = iSBN;
	}
	public String getFoormat() {
		return foormat;
	}
	public void setFoormat(String foormat) {
		this.foormat = foormat;
	}
	public String getPaper() {
		return paper;
	}
	public void setPaper(String paper) {
		this.paper = paper;
	}
	public String getPackageing() {
		return packageing;
	}
	public void setPackageing(String packageing) {
		this.packageing = packageing;
	}
	public String getNumberpages() {
		return numberpages;
	}
	public void setNumberpages(String numberpages) {
		this.numberpages = numberpages;
	}
	public String getWords() {
		return words;
	}
	public void setWords(String words) {
		this.words = words;
	}
	public String getSrc() {
		return src;
	}
	public void setSrc(String src) {
		this.src = src;
	}
	public String getRecommend() {
		return recommend;
	}
	public void setRecommend(String recommend) {
		this.recommend = recommend;
	}
	public String getIntroductioncontent() {
		return introductioncontent;
	}
	public void setIntroductioncontent(String introductioncontent) {
		this.introductioncontent = introductioncontent;
	}
	public String getAboutauthor() {
		return aboutauthor;
	}
	public void setAboutauthor(String aboutauthor) {
		this.aboutauthor = aboutauthor;
	}
	public String getBasedirectory() {
		return basedirectory;
	}
	public void setBasedirectory(String basedirectory) {
		this.basedirectory = basedirectory;
	}
	public String getMediacomments() {
		return mediacomments;
	}
	public void setMediacomments(String mediacomments) {
		this.mediacomments = mediacomments;
	}
	public Integer getSales() {
		return sales;
	}
	public void setSales(Integer sales) {
		this.sales = sales;
	}
	public Date getPutaeay() {
		return putaeay;
	}
	public void setPutaeay(Date putaeay) {
		this.putaeay = putaeay;
	}
	@Override
	public String toString() {
		return "BookEntity [id=" + id + ", bookname=" + bookname
				+ ", department=" + department + ", price=" + price
				+ ", ddprice=" + ddprice + ", repertory=" + repertory
				+ ", writwer=" + writwer + ", press=" + press + ", printtime="
				+ printtime + ", edition=" + edition + ", misprint=" + misprint
				+ ", impression=" + impression + ", ISBN=" + ISBN
				+ ", foormat=" + foormat + ", paper=" + paper + ", packageing="
				+ packageing + ", numberpages=" + numberpages + ", words="
				+ words + ", src=" + src + ", recommend=" + recommend
				+ ", introductioncontent=" + introductioncontent
				+ ", aboutauthor=" + aboutauthor + ", basedirectory="
				+ basedirectory + ", mediacomments=" + mediacomments
				+ ", sales=" + sales + ", putaeay=" + putaeay + "]";
	}
	
	
	
}
